<template>
  <div>
    <!-- <div class="dialog_globalAlert_title">
      {{ $t('Layout.globalAlert.overUserLimitTip') }}
    </div> -->
    <div class="dialog_globalAlert_content over_user">
      <p>{{ $t('Layout.globalAlert.overUserLimitBefore') }}</p>
      <p v-if="license && license.type !== 'private'">
        {{ $t('Layout.globalAlert.overUserLimitAfter') }}
      </p>
      <p v-else>
        {{ $t('Layout.globalAlert.overUserLimitAfterPrivate') }}
      </p>
    </div>
  </div>
</template>

<script>
import authUtils from '@/utils/authUtils'

export default {
  // 人数限制：超出
  name: '3110011',
  computed: {
    license() {
      return authUtils.getLocalUserData().license || {}
    }
  }
}
</script>

<style lang="less">
.dialog_globalAlert_content.over_user {
  text-align: center;
  font-size: 15px;
  color: #666666;
  padding-top: 20px;
  p {
    line-height: 24px;
  }
}
</style>
